home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1712 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  846 b   |  30 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 2)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Just a sign.";
  8.       }
  9.       if(_root.micon._currentframe == 24 && _root.range == true)
  10.       {
  11.          if(_root.even24 == 1)
  12.          {
  13.             _root.sfx.gotoAndStop(3);
  14.             _root.micon.gotoAndStop(1);
  15.             _root.even23 = 1;
  16.             _root.txt_number = 2;
  17.             _root.next_dis2 = 2;
  18.             _root.next_txt2 = "This should keep him busy.";
  19.             _root.next_dis1 = 2;
  20.             _root.next_txt1 = "Stupid dog.  HeΓÇÖll never get that steak.";
  21.          }
  22.          else
  23.          {
  24.             _root.next_dis1 = 2;
  25.             _root.next_txt1 = "I don\'t really have a reason to do that yet.";
  26.          }
  27.       }
  28.    }
  29. }
  30.